{
  "properties" : { },
  "id" : "eead586dcad34f4fa45bcefd8d5cf89d",
  "script" : null,
  "groupId" : "86e3339250b54fea92ba01599a012c48",
  "name" : "redis",
  "createTime" : null,
  "updateTime" : 1714053353817,
  "lock" : null,
  "createBy" : null,
  "updateBy" : "admin",
  "path" : "redis",
  "method" : "GET",
  "parameters" : [ ],
  "options" : [ ],
  "requestBody" : null,
  "headers" : [ ],
  "paths" : [ ],
  "responseBody" : "{\n    \"code\": 500,\n    \"msg\": \"系统内部出现错误\"\n}",
  "description" : null,
  "requestBodyDefinition" : null,
  "responseBodyDefinition" : null
}
================================
import redis;

var value = 'hello';
//通过redis.命令名(命令参数,命令参数,.....,命令参数) 进行调用，其中命令名不区分大小写
redis.set('key',value); //调用set命令
redis.setex('key',10,value);    //调用setex命令
return redis.get('key');    //调用get命令